package com.audaque.springboot.foshanupload.web.datamongodbdemo.repository;

import com.audaque.springboot.foshanupload.web.datamongodbmodeldemo.model.pojo.MusicDetail;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author zgb
 * @desc ...
 * @date 2023-07-23 02:19:08
 */
@Repository
public interface MusicDetailRepository extends MongoRepository<MusicDetail, String> {

    //通过作者和歌名查询
    MusicDetail findByMusicNameAndAuthor(String musicName,String author);

}
